<%@ page pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ include file="./common/head.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>${appTitle }</title>
<link rel="stylesheet" href="${ctx}/assets/login/css.css">
<style>
</style>
</head>
<body>
	<div class="logo"></div>
	<div class="text1">${appTitle }</div>
	<div class="text2">测试只能证明程序有错误，而不能证明程序没有错误。</div>
	<div class="text3"></div>
	<div class="text4">
		<a href="#"></a>
	</div>
	<div class="text5">2022@${appTitle }</div>
	<div id="form-info">
		<form action="${ctx}/com/pwd.do" method="POST">
			<div id="register">学生账号重置密码</div>
			<div id="old-account">
				已有账号？
				<a href="${ctx}/index.jsp" id="login">用户登录</a>
				|
				<a href="${ctx}/exit.jsp" id="login">返回首页</a>
				<div style="margin-top: 30px; color: red">${signErrorMessage }</div>
			</div>
			<div class="form form1">
				<label for="userName" class="">用户名</label>
				<input type="text" id="userName" name="uname" placeholder="请输入用户名" required="required" class="input input1"
					autofocus="autofocus">
			</div>
			<div class="form form2">
				<label for="psw" class="">新密码</label>
				<input type="password" id="psw" name="userPassword" placeholder="请输入密码" required="required" class="input input1">
			</div>
			<div class="form form2">
				<label for="psw" class="label-psw">问题</label>
				<select name="question" class="input input1">
					<option value="您目前的姓名是?">您目前的姓名是?</option>
					<option value="您配偶的生日是?">您配偶的生日是?</option>
					<option value="您的学号(或工号)是?">您的学号（或工号）是?</option>
					<option value="您母亲的生日是?">您母亲的生日是?</option>
					<option value="您高中班主任的名字是?">您高中班主任的名字是?</option>
					<option value="您父亲的姓名是?">您父亲的姓名是?</option>
					<option value="您小学班主任的名字是?">您小学班主任的名字是?</option>
					<option value="您父亲的生日是?">您父亲的生日是?</option>
					<option value="您配偶的姓名是?">您配偶的姓名是?</option>
					<option value="您初中班主任的名字是?">您初中班主任的名字是?</option>
					<option value="您最熟悉的童年好友名字是?">您最熟悉的童年好友名字是?</option>
					<option value="您最熟悉的学校宿舍舍友名字是?">您最熟悉的学校宿舍舍友名字是?</option>
					<option value="对您影响最大的人名字是?">对您影响最大的人名字是?</option>
				</select>
			</div>
			<div class="form form2">
				<label for="userName" class="label-psw">答案</label>
				<input type="text" id="answer" name="answer" placeholder="请输入答案" required="required" class="input input1"
					autofocus="autofocus">
			</div>

			<div id="register">
				<input class="register" type="submit" value="重置密码" />
			</div>
		</form>
	</div>
</body>
<%
	session.removeAttribute("signErrorMessage");
%>
</html>